package xcmg.device.dao.mapper.split;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.split.RestoreDetailDO;

import java.util.List;

@Mapper
public interface RestoreDetailMapper {
    int deleteByPrimaryKey(String id);

    int insert(RestoreDetailDO record);

    RestoreDetailDO selectByPrimaryKey(String id);

    int update(RestoreDetailDO record);

    List<RestoreDetailDO> list(@Param("mainId")String mainId);

    RestoreDetailDO selectByBarcode(@Param("mainId")String mainId, @Param("barcode")String barcode);

    List<RestoreDetailDO> selectByRestoreStatus(@Param("mainId")String mainId, @Param("restoreStatus")Integer restoreStatus);
}